even and odd cases